<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="include :: header"></head>
<body class="hold-transition skin-yellow sidebar-mini">
<section class="content-header">
</section>
<section class="content">

            <div class="col-xs-10 col-xs-offset-1">
                <table class="t1" id="hoursTable">
                    <thead>
                    <tr>
                        <td colspan="8">
                            <img th:src="@{/img/logo3.jpg}" width="64px" height="40px" style="margin-top: -20px">
                            <div style="display: inline-block;margin-top: 5px;margin-left: 20px">
                                <span style="letter-spacing: 24px;display: block;line-height: 20px">&nbsp;辽宁忠旺机械设备制造有限公司</span>
                                <span style="display: block;font-size: 12px;line-height: 20px">Liaoning Zhongwang Machinery Equipment Manufacturing Co., Ltd</span>
                            </div>
                        </td>
                        <td colspan="2"  style="width: 9%;font-size: 20px;">安装派工单</td>
                    </tr>
                    <tr>
                        <td style="width: 5%">生产令号</td>
                        <td colspan="1" style="width: 8%;font-size: 14px;">
                            <input id="sheetForm-proCode" type="text" class="form-control" name="proCode" th:value="${instDispatchingList.proCode}" >
                        </td>
                        <td style="width: 5%">项目名称</td>
                        <td colspan="2" style="width: 12%">
                            <input id="proName" type="text" class="form-control" name="proName" th:value="${instDispatchingList.proName}" >
                        </td>
                        <td style="width: 5%">订单数量</td>
                        <td colspan="2" style="width: 8%">
                            <input id="proNum" type="number" class="form-control" name="prodNum" th:value="${instDispatchingList.prodNum}" >
                        </td>
                        <td style="width: 5%">出厂编号</td>
                        <td colspan="2" style="width: 18%">
                            <input  type="text" class="form-control" name="factoryNumber" th:value="${instDispatchingList.factoryNumber}" >
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 5%">需方</td>
                        <td colspan="3" style="width: 15%;font-size: 14px;">
                            <input id="customer" class="form-control" name="customer" th:value="${instDispatchingList.customer}" >
                        </td>
                        <td style="width: 8%">安装地点</td>
                        <td colspan="3" style="width: 12%">
                            <input id="installPlace" type="text" class="form-control" name="installPlace" th:value="${instDispatchingList.installPlace}" >
                        </td>
                        <td style="width: 8%">安装数量</td>
                        <td colspan="1" style="width: 8%">
                            <input id="installNum" type="number" class="form-control" name="installNum" th:value="${instDispatchingList.installNum}" >
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 10%">项目负责人及联系方式</td>
                        <td colspan="4" style="width: 15%;font-size: 14px;">
                            <input id="projectLeader" class="form-control" name="projectLeader" th:value="${instDispatchingList.projectLeader}" >
                        </td>
                        <td style="width: 10%">设计负责人及联系方式</td>
                        <td colspan="4" style="width: 12%">
                            <input id="designLeader" type="text" class="form-control" name="designLeader" th:value="${instDispatchingList.designLeader}" >
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 10%">安装需求</td>
                        <td colspan="9" style="width: 80%;font-size: 14px;">
                            <input id="installationRequirements" class="form-control" name="installationRequirements" th:value="${instDispatchingList.installationRequirements}" >
                        </td>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td style="width: 6%">类型</td>
                        <td colspan="2" style="width: 15%">安装负责人</td>
                        <td colspan="2" style="width: 15%">要求完成日期</td>
                        <td colspan="5" style="width: 20%">备注</td>
                    </tr>
                    <tbody >
                    <tr th:each="instDispatchingDetails : ${instDispatchingDetails}" >
                        <td colspan="1" style="width: 6%">
                            <input type="text" class="form-control" name="special" autocomplete="off" th:value="${instDispatchingDetails.special}" >
                        </td>
                        <td colspan="2" style="width: 15%">
                            <input type="text" class="form-control" name="installPrincipal" autocomplete="off"  th:value="${instDispatchingDetails.installPrincipal}" >
                        </td>
                        <td colspan="2" style="width: 15%">
                            <input type="text" class="form-control datepicker" name="installTime" th:value="${#dates.format(instDispatchingDetails.installTime, 'yyyy-MM-dd')}"
                                    style="width: 100%;" />
                        </td>
                        <td colspan="5" style="width: 20%">
                            <input type="text" class="form-control" name="installRemark" autocomplete="off"  th:value="${instDispatchingDetails.installRemark}" >
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </form>
    </div>
</section>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
</script>
</body>
</html>